#ifndef FRAME_LISTENER_H_
#define FRAME_LISTENER_H_

// To be inherited with its functions altered through polymorphism
// The window that has had the event called upon is passed as an argument
// This allows a FrameListener to be attached to multiple windows

#include <EB0/Prereq.h>

namespace EB0
{
namespace Window
{
	class FrameListener
	{
		friend class RenderWindow;

	public:
		FrameListener();
		~FrameListener();

	protected:
		virtual void onFrameStart(RenderWindow* window, float dt = 0.0f);
		virtual void onFrameEnd(RenderWindow* window, float dt = 0.0f);
	};
} // namespace Window
}

#endif // FRAME_LISTENER_H_